package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.bill.model.entity.BillOrdInvoiceInformation;
import com.wing.bill.model.request.BillOrdInvoiceInformationForm;
import com.wing.bill.model.response.BillOrdInvoiceInformationVO;
import com.wing.common.utils.JsonResult;

import java.util.List;
import java.util.Map;

/**
 * 账单付款发票信息-Service
 *
 * @author
 */
public interface BillOrdInvoiceInformationService extends IService<BillOrdInvoiceInformation> {

    /**
     * 添加
     *
     * @param billOrdInvoiceInformationForm
     * @return
     */
    int add(BillOrdInvoiceInformationForm billOrdInvoiceInformationForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<BillOrdInvoiceInformationVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<BillOrdInvoiceInformationVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    BillOrdInvoiceInformationVO get4appById(Long id);

    JsonResult addAll(BillOrdInvoiceInformationForm billOrdInvoiceInformationForm);
}
